﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.Metadata.Dao
{
    class DataPermissionClient
    {
        public static string GetFilterSqlByUserId(string currentUserID, string appfunctionId)
        {
            //DataPermissionsService.GetInstance().GetFilterSqlByUserId(currentUserID, appfunctionId);
            return "";
        }

        public static string GetFilterSqlByUserId(string currentUserID, string functionId, string permissionsId)
        {
            //string functionId = "9CAE873C-F7D9-4688-8C70-475C9437551D";//功能项ID
            //string permissionsId = "1580511C-628A-4EA5-AF99-3ADB0FE1A8A5";//数据权限ID
            string permissionSql = "";// DataPermissionsService.GetInstance().GetFilterSqlByUserId(currentUserID, functionId, permissionsId);

            return permissionSql;
        }
    }
}
